import AdminsApi from "../api/admins";
export const isLogin = () => {
  const token = AdminsApi.getToken();
  //通过判断用户登陆状态返回状态值ture false
  return !!token;
};
